package com.yishusmt.wechatapi.wechatdev.controller;

import com.yishusmt.wechatapi.wechatdev.dto.base.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 优秀案例 TODO
 * 未写
 *
 * @author zhangyi
 * @date 2018/9/5 17:40
 */
@RestController
@RequestMapping("/case")
@Api(description = "优秀案例(减需求)")
public class OutstandingCaseController {

    /**
     * 获取案例列表
     *
     * @return
     */
    @GetMapping("/getCaseList")
    @ApiOperation(value = "获取案例列表",httpMethod = "GET")
    public Result getCaseList(){
        return null;
    }

    /**
     * 获取案例详细信息
     *
     * @param id
     * @return
     */
    @GetMapping("/getCaseInfo/{id}")
    @ApiOperation(value = "获取案例详细信息",httpMethod = "GET")
    public Result getCaseInfo(@PathVariable(value = "id") Long id){
        return null;
    }

}
